package com.shop2cn.iapi.points.resp;

import java.math.BigDecimal;

public class CalcOrderCreditResp {

	/**
	 * 是否可用积分
	 */
	private Boolean creditEnabled;
	
	/**
	 * 积分抵扣门槛
	 */
	private Integer useMinLimit;
	
	/**
	 * 订单抵扣最高比例
	 */
	private BigDecimal orderDeductLimit;
	
	/**
	 * 积分抵扣策略，每N积分
	 */
	private Integer creditPolicy;
	
	/**
	 * 积分抵扣策略，抵扣X元
	 */
	private BigDecimal amountPolicy;
	
	/**
	 * 积分余额
	 */
	private Integer balance;
	
	/**
	 * 最大可用积分
	 */
	private Integer maxUseCredit;
	
	/**
	 * 最大可抵扣金额
	 */
	private BigDecimal maxDeductAmount;

	public Boolean getCreditEnabled() {
		return creditEnabled;
	}

	public void setCreditEnabled(Boolean creditEnabled) {
		this.creditEnabled = creditEnabled;
	}

	public Integer getUseMinLimit() {
		return useMinLimit;
	}

	public void setUseMinLimit(Integer useMinLimit) {
		this.useMinLimit = useMinLimit;
	}

	public BigDecimal getOrderDeductLimit() {
		return orderDeductLimit;
	}

	public void setOrderDeductLimit(BigDecimal orderDeductLimit) {
		this.orderDeductLimit = orderDeductLimit;
	}

	public Integer getCreditPolicy() {
		return creditPolicy;
	}

	public void setCreditPolicy(Integer creditPolicy) {
		this.creditPolicy = creditPolicy;
	}

	public BigDecimal getAmountPolicy() {
		return amountPolicy;
	}

	public void setAmountPolicy(BigDecimal amountPolicy) {
		this.amountPolicy = amountPolicy;
	}

	public Integer getBalance() {
		return balance;
	}

	public void setBalance(Integer balance) {
		this.balance = balance;
	}

	public Integer getMaxUseCredit() {
		return maxUseCredit;
	}

	public void setMaxUseCredit(Integer maxUseCredit) {
		this.maxUseCredit = maxUseCredit;
	}

	public BigDecimal getMaxDeductAmount() {
		return maxDeductAmount;
	}

	public void setMaxDeductAmount(BigDecimal maxDeductAmount) {
		this.maxDeductAmount = maxDeductAmount;
	}
}
